home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0314.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  1.0 KB  |  44 lines

  1. >  Date: Wed, 4 Nov 1992 16:48:34 -0500
  2. >  From: Jim Davis <davis@dri.cornell.edu>
  3. >  
  4.  
  5. >  If you can't quite manage to live without hardcopy, you may
  6. >  wish sometimes to print WWW files.  I have written a couple
  7. >  of scripts to do this.  They are particularly useful with
  8. >  Pei Wei's excellent Viola WWW browser.
  9. >  
  10.  
  11. >  A tar archive is available for anonymous FTP:
  12. >  
  13.  
  14. >  dri.cornell.edu/pub/davis/print-www.tar
  15.  
  16. Also now available as info.cern.ch/pub/www/src/print-www.tar
  17.  
  18. > ...  
  19.  
  20. >  The hardest part was writing the perl script to obtain documents
  21. >  via http protocol - turns out you cant just run pipes through telnet.
  22. >
  23. Why not use "www -source" ?
  24.  
  25. You say, in print-www, that:
  26.  
  27. # It is intended to
  28. # be used from the Viola WWW browser but might he useful
  29. # elsewhere too
  30.  
  31. Of course it's great from the line mode browser too, in which you can say
  32.  
  33.     source | print-www
  34.  
  35. or just
  36.         setenv WWW_PRINT_COMMAND "print-www '%s' | lpr"
  37.  
  38. beforehand, and say PRINT in www.
  39.  
  40.  
  41. Thanks for a cleaning up the .sed file, and doing the thing properly.
  42.  
  43.  
  44.